package com.ccb.jyzx.expand.ouapi.dao.ouapi;

import com.ccb.jyzx.expand.ouapi.beans.UserDutyRef;
import com.ccb.jyzx.expand.ouapi.beans.sync.UserDutyRefSync;
import com.ccb.jyzx.expand.ouapi.beans.sync.UserInfoSync;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author XIEFEI
 * @date 2019-11-13 14:34
 * @Description
 **/
public interface UserDutyRefDao {
    List<UserDutyRef> findByUserId(@Param("userId") String userId);

    List<UserDutyRefSync> getAllSync();

    void save(UserDutyRefSync userDutyRefSync);

    void update(UserDutyRefSync userDutyRefSync);

    void deleteById(@Param("id")String id);
}
